import Vue from 'vue'
import App from './App.vue'
import Vuex from 'vuex'

import vueRouter from 'vue-router'
import {routes} from './routes'
import axios from 'axios'
import VueAxios from 'vue-axios'
import {store} from './store';

Vue.use(vueRouter);
Vue.use(VueAxios, axios);
Vue.use(Vuex);

const router = new vueRouter({
  routes,
  mode:'history'
})

var vm = new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
